//
//  NavScrollView.h
//  ios_news
//
//  Created by Han on 14-6-9.
//  Copyright (c) 2014年 ucoder. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol NavScrollViewDelegate;
@interface NavScrollView : UIScrollView
{
    NSInteger mCurrentSelectedID;
    NSInteger mLastSelectedID;
    UIView *mIndicatorView;        // 指示器
}

@property(nonatomic,assign) id <NavScrollViewDelegate> delegateNews;
@property (nonatomic, assign) NSInteger mCurrentSelectedID;

+ (int)getViewTag;
- (void) changeIndicatorViewContentOffset: (float) x;
- (void) adjustNavScrollView: (NSInteger) currentSelectedID;

@end

@protocol NavScrollViewDelegate
- (void) fristLoadData;
- (void) newsScrollViewSetContentOffset: (int)currentPage;
@end
